projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7546179
)
* lisp/emacs-lisp/oclosure.el (oclosure-define): Fix empty case
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 8 May 2022 14:33:49 +0000
(10:33 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 8 May 2022 14:33:49 +0000
(10:33 -0400)
lisp/emacs-lisp/oclosure.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/oclosure.el
b/lisp/emacs-lisp/oclosure.el
index cb8c59b05a2e529213d17f3083fec47c2f504757..9775e8cc65637000a58f00d3e0da34ea39e1bfc4 100644
(file)
--- a/
lisp/emacs-lisp/oclosure.el
+++ b/
lisp/emacs-lisp/oclosure.el
@@
-223,7
+223,7
@@
list of slot properties. The currently known properties are the following:
`:mutable': A non-nil value mean the slot can be mutated.
`:type': Specifies the type of the values expected to appear in the slot."
(declare (doc-string 2) (indent 1))
- (unless (
stringp docstring
)
+ (unless (
or (stringp docstring) (null docstring)
)
(push docstring slots)
(setq docstring nil))
(let* ((options (when (consp name)